package com.feinno.urcs.group.pctask.task;

import com.feinno.superpojo.SuperPojo;
import com.feinno.superpojo.annotation.Field;
import com.feinno.urcs.group.entity.GroupMessageType;
import com.feinno.urcs.types.MobileNo;
import com.feinno.util.DateUtil;

import java.util.Date;
import java.util.List;

/**
 * Created by honghao on 7/13/15.
 */
public class AndPcGroupMsgArgs extends SuperPojo {

	@Field(id = 1)
	private int groupId;    //群ID
	@Field(id = 2)
	private String domain;
	@Field(id = 3)
	private String conversationId;//群conversationID
	@Field(id = 4)
	private String subject; //群组名称
	@Field(id = 5)
	private MobileNo sender;
	@Field(id = 6)
	private MobileNo toMobile;
	@Field(id = 7)
	private GroupMessageType contentType;
	@Field(id = 8)
	private byte[] content;
	@Field(id = 9)
	private String url;
	@Field(id = 10)
	private String senderName;
	@Field(id = 11)
	private List<MobileNo> groupAtMembers;
	@Field(id = 12)
	private String fileName;
	@Field(id = 13)
	private String fileType;
	@Field(id = 14)
	private int fileSize;
	@Field(id = 15)
	private int timeLen;
	@Field(id = 16)
	private Date sendTime = DateUtil.getUTCNow();

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public int getTimeLen() {
		return timeLen;
	}

	public void setTimeLen(int timeLen) {
		this.timeLen = timeLen;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public int getFileSize() {
		return fileSize;
	}

	public void setFileSize(int fileSize) {
		this.fileSize = fileSize;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getGroupId() {

		return groupId;
	}

	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getConversationId() {
		return conversationId;
	}

	public void setConversationId(String conversationId) {
		this.conversationId = conversationId;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public MobileNo getSender() {
		return sender;
	}

	public void setSender(MobileNo sender) {
		this.sender = sender;
	}

	public MobileNo getToMobile() {
		return toMobile;
	}

	public void setToMobile(MobileNo toMobile) {
		this.toMobile = toMobile;
	}

	public GroupMessageType getContentType() {
		return contentType;
	}

	public void setContentType(GroupMessageType contentType) {
		this.contentType = contentType;
	}

	public byte[] getContent() {
		return content;
	}

	public void setContent(byte[] content) {
		this.content = content;
	}

	public List<MobileNo> getGroupAtMembers() {
		return groupAtMembers;
	}

	public void setGroupAtMembers(List<MobileNo> groupAtMembers) {
		this.groupAtMembers = groupAtMembers;
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}
}
